-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Add AST representation for coroutines #85372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@tkremenek @rjmccall Following discussions on LLVM Dev Meeting, this is a stripped-down version of #78508:
Essentially the PR contains AST-related bits for coroutine declarations and coroutine function types as well as required boilerplate for AST mangling, dumping, serialization, etc. @xedin comments from the original PR were addressed as well. |
|
Please test with following pull request: swiftlang/llvm-project#11396 |
8805213 to
29ab221
Compare
|
Please test with following pull request: swiftlang/llvm-project#11396 |
This is a proof-of-concept PR adding AST representation for coroutines
Further background at https://forums.swift.org/t/pitch-yield-once-functions-first-class-coroutines/77081